import request from '../utils/request'


export const UserInfo=() => {
 return request({
    url:'/v1_0/user/profile',
    method:'get',
 })
};

export const loginAPI=({mobile,code}) => {
   return request({
      url:'/v1_0/authorizations',
      method:'post',
      data:{mobile,code}
   })
  };